package com.freesky.provider.search.service;


import com.freesky.common.utils.reponse.JSONResponse;
import org.apache.solr.client.solrj.SolrServerException;

import java.io.IOException;

/**
 * @author Freesky
 */
public interface ISearchItemService {

	/**
	 * 同步索引
	 * @return
	 */
	JSONResponse importAllItems() throws Exception;

	/**
	 * 获取ES基本信息
	 * @return
	 */
	JSONResponse getInfo();

}
